package com.ruoyi.wisdom.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 实时识别记录对象 iot_pick_temperature_record
 * 
 * @author ruoyi
 * @date 2025-02-08
 */
public class IotPickTemperatureRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long temperatureId;

    /** 用户UID */
    @Excel(name = "用户UID")
    private Long userId;

    /** 用户姓名 */
    @Excel(name = "用户姓名")
    private String name;

    /** 识别温度 */
    @Excel(name = "识别温度")
    private String temperature;

    /** 识别时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "识别时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date facetime;

    /** 时间戳 */
    @Excel(name = "时间戳")
    private Long timestamp;

    /** 进出方式 */
    @Excel(name = "进出方式")
    private Integer type;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Integer personType;

    /** 班级ID */
    @Excel(name = "班级ID")
    private Long classId;

    /** 年级ID */
    @Excel(name = "年级ID")
    private Long gradeId;

    /** 相片 */
    @Excel(name = "相片")
    private String photo;

    /** 场景ID */
    @Excel(name = "场景ID")
    private Long sceneId;

    /** 设备序列号 */
    @Excel(name = "设备序列号")
    private String deviceNo;

    public void setTemperatureId(Long temperatureId) 
    {
        this.temperatureId = temperatureId;
    }

    public Long getTemperatureId() 
    {
        return temperatureId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setTemperature(String temperature) 
    {
        this.temperature = temperature;
    }

    public String getTemperature() 
    {
        return temperature;
    }
    public void setFacetime(Date facetime) 
    {
        this.facetime = facetime;
    }

    public Date getFacetime() 
    {
        return facetime;
    }
    public void setTimestamp(Long timestamp) 
    {
        this.timestamp = timestamp;
    }

    public Long getTimestamp() 
    {
        return timestamp;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setPersonType(Integer personType) 
    {
        this.personType = personType;
    }

    public Integer getPersonType() 
    {
        return personType;
    }
    public void setClassId(Long classId) 
    {
        this.classId = classId;
    }

    public Long getClassId() 
    {
        return classId;
    }
    public void setGradeId(Long gradeId) 
    {
        this.gradeId = gradeId;
    }

    public Long getGradeId() 
    {
        return gradeId;
    }
    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }
    public void setSceneId(Long sceneId) 
    {
        this.sceneId = sceneId;
    }

    public Long getSceneId() 
    {
        return sceneId;
    }
    public void setDeviceNo(String deviceNo) 
    {
        this.deviceNo = deviceNo;
    }

    public String getDeviceNo() 
    {
        return deviceNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("temperatureId", getTemperatureId())
            .append("userId", getUserId())
            .append("name", getName())
            .append("temperature", getTemperature())
            .append("facetime", getFacetime())
            .append("timestamp", getTimestamp())
            .append("type", getType())
            .append("personType", getPersonType())
            .append("classId", getClassId())
            .append("gradeId", getGradeId())
            .append("photo", getPhoto())
            .append("sceneId", getSceneId())
            .append("deviceNo", getDeviceNo())
            .toString();
    }
}
